nestedhvm: Remove nhvm_{initialise,destroy,reset}.
authorKeir Fraser <keir@xen.org>
Sat, 9 Apr 2011 11:42:24 +0000 (12:42 +0100)
committerKeir Fraser <keir@xen.org>
Sat, 9 Apr 2011 11:42:24 +0000 (12:42 +0100)
commita2b5f214696a76d24f4f464d77f552b8c2a81879
treeb98dc38aafcc3db7edfe284a790e17ed7811384d
parenta0968ec7530a2ebc91b1384379e2129c3b369af8
nestedhvm: Remove nhvm_{initialise,destroy,reset}.

They are a pointless level of abstraction beneath nestedhvm_* variants
of the same operations, which all callers should be using.

At the same time, nestedhvm_vcpu_initialise() does not need to call
destroy if initialisation fails. That is the vendor-specific init
function's job (clearing up its own state on failure).

Signed-off-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/nestedhvm.c
xen/include/asm-x86/hvm/hvm.h